---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: minioconsole
  namespace: minio
  # ## Fix to new versions of ingress controllers
  # annotations:
  #   kubernetes.io/ingress.class: "system-ingress"
spec:
  ## Fix to new versions of ingress controllers
  ingressClassName: "system-ingress"
  rules:
    - host: "minio.kryukov.local"
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: console
                port:
                  name: http
